Skip to content

Enabled to choose port to run GUI - #2950

Open
ChiaMineJP wants to merge 3 commits into
mainfrom
env-port
Open

Enabled to choose port to run GUI#2950
ChiaMineJP wants to merge 3 commits into
mainfrom
env-port

Conversation

@ChiaMineJP

@ChiaMineJP ChiaMineJP commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Allowed to set port from env. Only effective in dev.


Note

Low Risk
Development-only URL/port wiring; production Electron loading is untouched.

Overview
Dev-only: the GUI dev server port and Electron’s development load URL can be overridden via CHIA_GUI_PORT (still defaults to 3000).

Webpack now loads packages/gui/.env with dotenv and uses that variable for devServer.port. Electron’s startUrl in development uses the same port so the shell loads the matching localhost URL. Production builds are unchanged (still load the packaged file:// renderer).

Reviewed by Cursor Bugbot for commit e7196a6. Bugbot is set up for automated code reviews on this repo. Configure here.

@ChiaMineJP
ChiaMineJP requested review from arvidn, emlowe and seeden June 8, 2026 11:07
@ChiaMineJP ChiaMineJP self-assigned this Jun 8, 2026
@ChiaMineJP
ChiaMineJP requested a review from a team as a code owner June 8, 2026 11:07

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 919e499. Configure here.

Comment thread packages/gui/webpack.react.babel.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants